Customizable Object Recovery Pattern
نویسندگان
چکیده
In this paper a design pattern for Object Recovery is described. The Customizable Object Recovery pattern defines a generic object recovery algorithm. It decouples the recovery part from the object’s functional part. Different policies can be supported: update-in-place, deferred-update, copy and compensating. The Customizable Object Recovery pattern isolates recovery from persistence and object synchronization issues, allowing the recovery of transient objects to a previously defined state. Moreover, the recovery pattern can be used to implement user undo/redo models of interaction.
منابع مشابه
Extended Design Patterns in New Object-Oriented Programming Languages (S)
Most of design patterns are implemented in major object-oriented programming languages such as C++ and Java. However, newer object-oriented programming languages than such languages has new language features which can improve implementations of design patterns. In this paper, we propose two extended design patterns called customizable state pattern and deeply immutable pattern. We compares impl...
متن کاملPatterns for Documenting Frameworks – Part III
Good design and implementation are necessary but not sufficient pre-requisites for the successful reuse of object-oriented frameworks. Although not always recognized, good documentation is crucial for effective framework reuse and comes with many issues. Defining and writing good quality documentation for a framework is often hard, costly, and tiresome, especially when not aware of its key prob...
متن کاملPattern-based Generation of Customized, Flexible Building Simulators
This paper describes a domain-specific software development method for the creation of building simulators. The method is based on object-oriented modeling, design patterns and code generation principles. The goal is to provide customizable building simulators that exactly simulate those physical effects an application demands. The numerical accuracy and different algorithms to be used can be t...
متن کاملAn Advanced Communication Toolkit for Implementing the Broker Pattern
The Broker pattern is a powerful solution when building middleware communication systems. Existing toolkits, such as BAST, GTS, and ACE, although useful, are insufficient to implement the Broker pattern architecture. These systems concentrate on wrappers for communication protocols, and on implementing auxiliary communication patterns, but address only some aspects of object communication. In t...
متن کاملEecient Support for Customizing Concurrency Control in Persistent Java
We report on the issues raised when designing a customizable locking mechanism for Persistent Java, a type-safe, object-oriented, orthogonally persistent system based on the language Java. Customizable locking mechanisms are supported by locking capabilities. A locking capability is a book-keeper of locks that automatically acquires locks with a customizable connict detection mechanism. It impl...
متن کامل